package com.newsmanagement.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * @author xbr
 *
 * 新闻内容评论信息表
 */
public class ContentCommentEntity{

    //主键
    //COMMENT_ID
    private Integer commentId;

    //新闻内容id
    //CONTENT_ID
    private String contentId;

    //评论内容
    //COMMENT_TXT
    private String commentTxt;

    //排序
    //ORDER_NUMBER
    private Integer orderNumber;

    //是否删除：0:已删除，1：未删除;默认未删除
    //DELETE_FLAG
    private Integer deleteFlag;

    //删除时间
    //DELETE_TIME
    private Timestamp deleteTime;

    public ContentCommentEntity(Integer commentId, String contentId, String commentTxt, Integer orderNumber, Integer deleteFlag, Timestamp deleteTime) {
        this.commentId = commentId;
        this.contentId = contentId;
        this.commentTxt = commentTxt;
        this.orderNumber = orderNumber;
        this.deleteFlag = deleteFlag;
        this.deleteTime = deleteTime;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    public String getCommentTxt() {
        return commentTxt;
    }

    public void setCommentTxt(String commentTxt) {
        this.commentTxt = commentTxt;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Timestamp getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Timestamp deleteTime) {
        this.deleteTime = deleteTime;
    }
}

